package com.music.vo;

import lombok.Getter;

/**
 * 登录响应数据封装类
// * @param token JWT认证令牌
// * @param user 用户信息对象
 */
@Getter
public class LoginResponse {
    private final String token;
    private final User user;

    public LoginResponse(String token, User user) {
        this.token = token;
        this.user = user;
    }
}